package com.bbs.service;

import java.util.List;

import com.bbs.dao.ArticleDao;
import com.bbs.entity.Article;
import com.bbs.util.Page;

public class SearchService {
	
	public List<Article> findList(String scontent,Page page) {
		return new ArticleDao().searchList(scontent, page);
	}
	
	public int searchCount(String scontent) {
		return new ArticleDao().searchCount(scontent);
	}
}
